<template>
  <div id="app">
    <!-- 路由出口 -->
    <keep-alive>
      <router-view v-if="$route.meta.isKeepAlive"></router-view>
    </keep-alive>
    <router-view v-if="!$route.meta.isKeepAlive"></router-view>
  </div>
</template>
<script>
import request, { instance1, instance2 } from '@/utils/request'
export default {
  methods: {
    h1 () {
      request.post('/asz')
      instance1.get('/abc')
    },
    h2 () {
      instance2.get('/abc')
    }
  }
}
</script>
